﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		 <script src="../../syntaxHighlighter/Scripts/shCore.js" type="text/javascript"></script>
        <script type="text/javascript" src="../../syntaxHighlighter/Scripts/shBrushCss.js"></script>
        <script type="text/javascript" src="../../syntaxHighlighter/Scripts/shBrushJScript.js"></script>
        <script type="text/javascript" src="../../syntaxHighlighter/Scripts/shBrushPhp.js"></script>  
        <script src="../../syntaxhighlighter/helper.js" type="text/javascript"></script>
        <link type="text/css" rel="stylesheet" href="../../syntaxHighlighter/styles/shCore.css"/>
        <link type="text/css" rel="stylesheet" href="../../syntaxHighlighter/styles/shThemeDefault.css"/>
		<title>API for jQuery LigerUI 1.0</title>

		<style type="text/css">
			/* default.css */
body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif; 
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}
li{ line-height:17px;}
h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: block;
	padding: 8px;
	border: 1px dashed #ccc;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 160px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 5px; 
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}
table.summaryTable
{border-left: 1px #7F8FB1 solid;
}
.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px; 
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0; font-size:13px;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align:center;
	font-size: 10px;
}
.description ul,.l-params-row-cell ul
{
    list-style:none; padding:0; padding-left:14px; padding-right:5px;
}
.l-params-table
{
    border-bottom:1px solid #C1C1C1; border-right:1px solid #C1C1C1;
}
.l-params-table td
{border-left:1px solid #C1C1C1; border-top:1px solid #C1C1C1;
}
.l-params-hd-cell
{
    background:#DBDBDB;padding:8px; line-height:23px;
}
.l-cell-Function-parms
{
    border:1px dashed #C1C1C1; background:white;
}
.l-params-row-cell
{
    padding:8px;line-height:23px;
}
.l-params-hd-cell-name
{
}
.l-row-Function
{
    background:#f5f5f5;
}

.l-params-hd-cell-default
{width:100px;
}
.l-params-hd-cell-type
{
    
}
.l-params-hd-cell-desc
{
}
		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<div id="header">
</div>
		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->

		
		<div id="content">
<!-- ============================== class title ============================ -->


<!-- ============================== class summary ========================== -->			
			<p class="description">
				
				
			
				 
			</p>

<!-- ============================== constructor summary ==================== -->			
			

<!-- ============================== properties summary ===================== -->
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class _global_.">
					<caption>ligerGrid 接口方法列表 （可通过ligerGetGridManager获取对象）</caption>
					<tbody>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#addRow">addRow</a></b>()
								</div>
								<div class="description"><ul>
<li>增加新行</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#changePage">changePage</a></b>(ctype)
								</div>
								<div class="description"><ul>
<li>改变分页</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#changeSort">changeSort</a></b>(columnName, sortOrder)
								</div>
								<div class="description"><ul>
<li>改变排序</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#compareData">compareData</a></b>(data1, data2, columnname, columnType)
								</div>
								<div class="description"><ul>
<li>比较某一列两个数据 可用于排序函数</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#deleteRow">deleteRow</a></b>(row)
								</div>
								<div class="description"><ul>
<li>选择行</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#deleteSelectedRow">deleteSelectedRow</a></b>()
								</div>
								<div class="description"><ul>
<li>删除选择的行</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#getColumn">getColumn</a></b>(columnname)
								</div>
								<div class="description"><ul>
<li>根据列名获取列信息</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#getColumnType">getColumnType</a></b>(columnname)
								</div>
								<div class="description"><ul>
<li>根据列名获取列类型</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#getData">getData</a></b>()
								</div>
								<div class="description"><ul>
<li>获取数据</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#getFormatDate">getFormatDate</a></b>(date, dateformat)
								</div>
								<div class="description"><ul>
<li>格式化时间</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#getRowByRowIndex">getRowByRowIndex</a></b>(rowindex)
								</div>
								<div class="description"><ul>
<li>根据行索引获取行数据</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#getSelectedRow">getSelectedRow</a></b>()
								</div>
								<div class="description"><ul>
<li>获取选中的行数据</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#isTotalSummary">isTotalSummary</a></b>()
								</div>
								<div class="description"><ul>
<li>是否包含汇总</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#loadData">loadData</a></b>(loadService)
								</div>
								<div class="description"><ul>
<li>刷新数据</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#setOptions">setOptions</a></b>(parms)
								</div>
								<div class="description"><ul>
<li>重新设置参数</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#showData">showData</a></b>(data)
								</div>
								<div class="description"><ul>
<li>显示数据</li>
</ul></div>
							</td>
						</tr>
					
						<tr>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="#updateData">updateData</a></b>(cell, value)
								</div>
								<div class="description"><ul>
<li>更新单元格数据</li>
</ul></div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			
<!-- ============================== events summary ======================== -->
			

<!-- ============================== constructor details ==================== -->		
			

<!-- ============================== field details ========================== -->		
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					插件方法详细
				</div>
				
					<a name="addRow"> </a>
					<div class="fixedFont">
					
					<span class="light">{Void}</span>
					<b>addRow</b>()
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>增加新行</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function addRow()
        {
            var manager = $("#maingrid").ligerGetGridManager();
            manager.addRow();
        }</pre>
					</dl>
					
					
					
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Void}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="changePage"> </a>
					<div class="fixedFont">
					
					<span class="light">{Void}</span>
					<b>changePage</b>(ctype)
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>改变分页</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function changePage(ctype)
        {
            var manager = $("#maingrid").ligerGetGridManager();
            manager.changePage(ctype);
        }</pre>
					</dl>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">参数列表:</dt>
							
							<table class='l-params-table' cellpadding="0" cellspacing="0">
								<tr>
								<td class='l-params-hd-cell l-params-hd-cell-name'>参数名</td>
								<td class='l-params-hd-cell l-params-hd-cell-type'>类型</td> 
								<td class='l-params-hd-cell l-params-hd-cell-desc'>描述</td>
								<td class='l-params-hd-cell l-params-hd-cell-default'>默认值</td>
								</tr>
							
								<tr class = 'l-row-String'>
								<td class='l-params-row-cell'>ctype</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{String}</span> </td> 
								<td class='l-params-row-cell'>类型：first/prev/next/last/input</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
							</table>
							</dl>
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Void}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="changeSort"> </a>
					<div class="fixedFont">
					
					<span class="light">{Void}</span>
					<b>changeSort</b>(columnName, sortOrder)
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>改变排序</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function changeSort(columnName, sortOrder)
        {
            var manager = $("#maingrid").ligerGetGridManager();
            manager.changeSort(columnName, sortOrder);
        }</pre>
					</dl>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">参数列表:</dt>
							
							<table class='l-params-table' cellpadding="0" cellspacing="0">
								<tr>
								<td class='l-params-hd-cell l-params-hd-cell-name'>参数名</td>
								<td class='l-params-hd-cell l-params-hd-cell-type'>类型</td> 
								<td class='l-params-hd-cell l-params-hd-cell-desc'>描述</td>
								<td class='l-params-hd-cell l-params-hd-cell-default'>默认值</td>
								</tr>
							
								<tr class = 'l-row-String'>
								<td class='l-params-row-cell'>columnName</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{String}</span> </td> 
								<td class='l-params-row-cell'>列名</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
								<tr class = 'l-row-String'>
								<td class='l-params-row-cell'>sortOrder</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{String}</span> </td> 
								<td class='l-params-row-cell'>排序方向,asc或者desc</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
							</table>
							</dl>
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Void}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="compareData"> </a>
					<div class="fixedFont">
					
					<span class="light">{Int}</span>
					<b>compareData</b>(data1, data2, columnname, columnType)
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>比较某一列两个数据 可用于排序函数</li>
</ul></div>
					</dl>
					
					
						
							<dl class="detailList">
							<dt class="heading">参数列表:</dt>
							
							<table class='l-params-table' cellpadding="0" cellspacing="0">
								<tr>
								<td class='l-params-hd-cell l-params-hd-cell-name'>参数名</td>
								<td class='l-params-hd-cell l-params-hd-cell-type'>类型</td> 
								<td class='l-params-hd-cell l-params-hd-cell-desc'>描述</td>
								<td class='l-params-hd-cell l-params-hd-cell-default'>默认值</td>
								</tr>
							
								<tr class = 'l-row-Object'>
								<td class='l-params-row-cell'>data1</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{Object}</span> </td> 
								<td class='l-params-row-cell'>数据一</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
								<tr class = 'l-row-Object'>
								<td class='l-params-row-cell'>data2</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{Object}</span> </td> 
								<td class='l-params-row-cell'>数据二</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
								<tr class = 'l-row-String'>
								<td class='l-params-row-cell'>columnname</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{String}</span> </td> 
								<td class='l-params-row-cell'>列名</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
								<tr class = 'l-row-String'>
								<td class='l-params-row-cell'>columnType</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{String}</span> </td> 
								<td class='l-params-row-cell'>列类型</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
							</table>
							</dl>
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Int}</span> 0,1,-1</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="deleteRow"> </a>
					<div class="fixedFont">
					
					<span class="light">{Void}</span>
					<b>deleteRow</b>(row)
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>选择行</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function deleteRow()
        {
            var manager = $("#maingrid").ligerGetGridManager();
            manager.deleteRow($("tr.l-grid-row",manager.gridbody)[0]);
        }</pre>
					</dl>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">参数列表:</dt>
							
							<table class='l-params-table' cellpadding="0" cellspacing="0">
								<tr>
								<td class='l-params-hd-cell l-params-hd-cell-name'>参数名</td>
								<td class='l-params-hd-cell l-params-hd-cell-type'>类型</td> 
								<td class='l-params-hd-cell l-params-hd-cell-desc'>描述</td>
								<td class='l-params-hd-cell l-params-hd-cell-default'>默认值</td>
								</tr>
							
								<tr class = 'l-row-Dom Object'>
								<td class='l-params-row-cell'>row</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{Dom Object}</span> </td> 
								<td class='l-params-row-cell'>行Dom对象</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
							</table>
							</dl>
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Void}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="deleteSelectedRow"> </a>
					<div class="fixedFont">
					
					<span class="light">{Void}</span>
					<b>deleteSelectedRow</b>()
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>删除选择的行</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function deleteSelectedRow()
        {
            var manager = $("#maingrid").ligerGetGridManager();
            manager.deleteSelectedRow();
        }</pre>
					</dl>
					
					
					
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Void}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getColumn"> </a>
					<div class="fixedFont">
					
					<span class="light">{Object}</span>
					<b>getColumn</b>(columnname)
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>根据列名获取列信息</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function getColumn(columnname)
        {
            var manager = $("#maingrid").ligerGetGridManager();
            return manager.getColumn(columnname);
        }</pre>
					</dl>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">参数列表:</dt>
							
							<table class='l-params-table' cellpadding="0" cellspacing="0">
								<tr>
								<td class='l-params-hd-cell l-params-hd-cell-name'>参数名</td>
								<td class='l-params-hd-cell l-params-hd-cell-type'>类型</td> 
								<td class='l-params-hd-cell l-params-hd-cell-desc'>描述</td>
								<td class='l-params-hd-cell l-params-hd-cell-default'>默认值</td>
								</tr>
							
								<tr class = 'l-row-String'>
								<td class='l-params-row-cell'>columnname</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{String}</span> </td> 
								<td class='l-params-row-cell'>列名</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
							</table>
							</dl>
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> Column，对应于p.Columns[i]</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getColumnType"> </a>
					<div class="fixedFont">
					
					<span class="light">{String}</span>
					<b>getColumnType</b>(columnname)
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>根据列名获取列类型</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function getColumnType(columnname)
        {
            var manager = $("#maingrid").ligerGetGridManager();
            return manager.getColumnType(columnname);
        }</pre>
					</dl>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">参数列表:</dt>
							
							<table class='l-params-table' cellpadding="0" cellspacing="0">
								<tr>
								<td class='l-params-hd-cell l-params-hd-cell-name'>参数名</td>
								<td class='l-params-hd-cell l-params-hd-cell-type'>类型</td> 
								<td class='l-params-hd-cell l-params-hd-cell-desc'>描述</td>
								<td class='l-params-hd-cell l-params-hd-cell-default'>默认值</td>
								</tr>
							
								<tr class = 'l-row-String'>
								<td class='l-params-row-cell'>columnname</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{String}</span> </td> 
								<td class='l-params-row-cell'>列名</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
							</table>
							</dl>
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{String}</span> Column Type</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getData"> </a>
					<div class="fixedFont">
					
					<span class="light">{Array}</span>
					<b>getData</b>()
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>获取数据</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function getData()
        {
            var manager = $("#maingrid").ligerGetGridManager();
            return manager.getData();
        }</pre>
					</dl>
					
					
					
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Array}</span> 返回的是一个数组</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getFormatDate"> </a>
					<div class="fixedFont">
					
					<span class="light">{String}</span>
					<b>getFormatDate</b>(date, dateformat)
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>格式化时间</li>
</ul></div>
					</dl>
					
					
						
							<dl class="detailList">
							<dt class="heading">参数列表:</dt>
							
							<table class='l-params-table' cellpadding="0" cellspacing="0">
								<tr>
								<td class='l-params-hd-cell l-params-hd-cell-name'>参数名</td>
								<td class='l-params-hd-cell l-params-hd-cell-type'>类型</td> 
								<td class='l-params-hd-cell l-params-hd-cell-desc'>描述</td>
								<td class='l-params-hd-cell l-params-hd-cell-default'>默认值</td>
								</tr>
							
								<tr class = 'l-row-Date'>
								<td class='l-params-row-cell'>date</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{Date}</span> </td> 
								<td class='l-params-row-cell'>时间</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
								<tr class = 'l-row-String'>
								<td class='l-params-row-cell'>dateformat</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{String}</span> </td> 
								<td class='l-params-row-cell'>格式字符串</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
							</table>
							</dl>
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{String}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getRowByRowIndex"> </a>
					<div class="fixedFont">
					
					<span class="light">{Object}</span>
					<b>getRowByRowIndex</b>(rowindex)
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>根据行索引获取行数据</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function getRowByRowIndex(rowindex)
        {
            var manager = $("#maingrid").ligerGetGridManager();
            return manager.getRowByRowIndex(rowindex);
        }</pre>
					</dl>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">参数列表:</dt>
							
							<table class='l-params-table' cellpadding="0" cellspacing="0">
								<tr>
								<td class='l-params-hd-cell l-params-hd-cell-name'>参数名</td>
								<td class='l-params-hd-cell l-params-hd-cell-type'>类型</td> 
								<td class='l-params-hd-cell l-params-hd-cell-desc'>描述</td>
								<td class='l-params-hd-cell l-params-hd-cell-default'>默认值</td>
								</tr>
							
								<tr class = 'l-row-Int'>
								<td class='l-params-row-cell'>rowindex</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{Int}</span> </td> 
								<td class='l-params-row-cell'>行索引</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
							</table>
							</dl>
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> Row Data</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getSelectedRow"> </a>
					<div class="fixedFont">
					
					<span class="light">{Object}</span>
					<b>getSelectedRow</b>()
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>获取选中的行数据</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function getSelectedRow()
        {
            var manager = $("#maingrid").ligerGetGridManager();
            return manager.getSelectedRow();
        }</pre>
					</dl>
					
					
					
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Object}</span> Row Data</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="isTotalSummary"> </a>
					<div class="fixedFont">
					
					<span class="light">{Bool}</span>
					<b>isTotalSummary</b>()
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>是否包含汇总</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function isTotalSummary()
        {
            var manager = $("#maingrid").ligerGetGridManager();
            return manager.isTotalSummary();
        }</pre>
					</dl>
					
					
					
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Bool}</span> 是否包含汇总</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="loadData"> </a>
					<div class="fixedFont">
					
					<span class="light">{Void}</span>
					<b>loadData</b>(loadService)
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>刷新数据</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function f_reload()
        {
            var manager = $("#maingrid").ligerGetGridManager();
            manager.loadData();
        }</pre>
					</dl>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">参数列表:</dt>
							
							<table class='l-params-table' cellpadding="0" cellspacing="0">
								<tr>
								<td class='l-params-hd-cell l-params-hd-cell-name'>参数名</td>
								<td class='l-params-hd-cell l-params-hd-cell-type'>类型</td> 
								<td class='l-params-hd-cell l-params-hd-cell-desc'>描述</td>
								<td class='l-params-hd-cell l-params-hd-cell-default'>默认值</td>
								</tr>
							
								<tr class = 'l-row-Bool'>
								<td class='l-params-row-cell'>loadService</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{Bool}</span> </td> 
								<td class='l-params-row-cell'>是否重新提交服务器</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
							</table>
							</dl>
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Void}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="setOptions"> </a>
					<div class="fixedFont">
					
					<span class="light">{Void}</span>
					<b>setOptions</b>(parms)
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>重新设置参数</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
<div class="l-panel-search">
    <div class="l-panel-search-item">
        国家：
    </div>
    <div class="l-panel-search-item">
        <asp:DropDownList ID="ddlCountry" runat="server"></asp:DropDownList>
    </div>
    <div class="l-panel-search-item">
        <div id="searchbtn">搜索</div>
    </div>
</div>
    <div id="maingrid" style="margin:0; padding:0"></div></pre>
					</dl>
					
					<pre class="brush: javascript;">
$("#searchbtn").ligerButton({ click: function ()
            {
                var gridManager = $("#maingrid").ligerGetGridManager();
                var Country = $("#ddlCountry").val(); 
                gridManager.setOptions(
                    { parms: [{ name: 'Country', value: Country}] }
                );
                gridManager.loadData(true);
            }</pre>
					</dl>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">参数列表:</dt>
							
							<table class='l-params-table' cellpadding="0" cellspacing="0">
								<tr>
								<td class='l-params-hd-cell l-params-hd-cell-name'>参数名</td>
								<td class='l-params-hd-cell l-params-hd-cell-type'>类型</td> 
								<td class='l-params-hd-cell l-params-hd-cell-desc'>描述</td>
								<td class='l-params-hd-cell l-params-hd-cell-default'>默认值</td>
								</tr>
							
								<tr class = 'l-row-Object'>
								<td class='l-params-row-cell'>parms</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{Object}</span> </td> 
								<td class='l-params-row-cell'>参数列表</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
							</table>
							</dl>
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Void}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="showData"> </a>
					<div class="fixedFont">
					
					<span class="light">{Void}</span>
					<b>showData</b>(data)
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>显示数据</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function showdata()
        {
            var manager = $("#maingrid").ligerGetGridManager();
            manager.showData({Rows:[],Total:0});
        }</pre>
					</dl>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">参数列表:</dt>
							
							<table class='l-params-table' cellpadding="0" cellspacing="0">
								<tr>
								<td class='l-params-hd-cell l-params-hd-cell-name'>参数名</td>
								<td class='l-params-hd-cell l-params-hd-cell-type'>类型</td> 
								<td class='l-params-hd-cell l-params-hd-cell-desc'>描述</td>
								<td class='l-params-hd-cell l-params-hd-cell-default'>默认值</td>
								</tr>
							
								<tr class = 'l-row-Object'>
								<td class='l-params-row-cell'>data</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{Object}</span> </td> 
								<td class='l-params-row-cell'>JSON数据</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
							</table>
							</dl>
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Void}</span> </dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="updateData"> </a>
					<div class="fixedFont">
					
					<span class="light">{Void}</span>
					<b>updateData</b>(cell, value)
					
					</div> 
					<dl class="detailList">
						<dt class="heading">描述:</dt>
					<div class="description"><ul>
<li>更新单元格数据</li>
</ul></div>
					</dl>
					
					<dl class="detailList">
							<dt class="heading">例子:</dt>
					
					<pre class="brush: javascript;">
function updateData()
        {
            var manager = $("#maingrid").ligerGetGridManager();
            manager.updateData($("td.l-grid-row-cell",manager.gridbody)[0],40);
        }</pre>
					</dl>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">参数列表:</dt>
							
							<table class='l-params-table' cellpadding="0" cellspacing="0">
								<tr>
								<td class='l-params-hd-cell l-params-hd-cell-name'>参数名</td>
								<td class='l-params-hd-cell l-params-hd-cell-type'>类型</td> 
								<td class='l-params-hd-cell l-params-hd-cell-desc'>描述</td>
								<td class='l-params-hd-cell l-params-hd-cell-default'>默认值</td>
								</tr>
							
								<tr class = 'l-row-Dom Object'>
								<td class='l-params-row-cell'>cell</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{Dom Object}</span> </td> 
								<td class='l-params-row-cell'>单元格Dom对象</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
								<tr class = 'l-row-String|Int|Float|Date'>
								<td class='l-params-row-cell'>value</td>
								<td class='l-params-row-cell'><span class="light fixedFont">{String|Int|Float|Date}</span> </td> 
								<td class='l-params-row-cell'>新值</td>
								<td class='l-params-row-cell'></td>
								</tr>
								
							</table>
							</dl>
						
						
						
						 
						
							<dl class="detailList">
							<dt class="heading">返回值:</dt>
							
								<dd><span class="light fixedFont">{Void}</span> </dd>
							
							</dl>
						
						
						

					
				
			
			
<!-- ============================== event details ========================= -->		
			
			
			<hr />
		</div>

		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
			

			API for jQuery LigerUI 1.0(Documentation generated by JsDoc Toolkit)
		</div>
	</body>
</html>
